package com.xczl.book.entity;

/**
 * 用户实体类
 * 
 * @author Administrator
 *
 */
public class Book {

	/**
	 * 主键
	 */
	private Integer bookId;

	/**
	 * 外键
	 */
	private Integer cateId;

	/**
	 * 图片编号
	 */
	private String number;

	// 图片
	private String urlPic;

	/**
	 * 书名
	 */
	private String name;

	/**
	 * 作者
	 */
	private String author;

	/**
	 * 简介
	 */
	private String brief;

	/**
	 * 出版社
	 */
	private String press;

	/**
	 * 在馆数量
	 */
	private int librarieNumber;

	/**
	 * 总数量
	 */
	private int totalQuantity;

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public Integer getCateId() {
		return cateId;
	}

	public void setCateId(Integer cateId) {
		this.cateId = cateId;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getUrlPic() {
		return urlPic;
	}

	public void setUrlPic(String urlPic) {
		this.urlPic = urlPic;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getBrief() {
		return brief;
	}

	public void setBrief(String brief) {
		this.brief = brief;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public int getLibrarieNumber() {
		return librarieNumber;
	}

	public void setLibrarieNumber(int librarieNumber) {
		this.librarieNumber = librarieNumber;
	}

	public int getTotalQuantity() {
		return totalQuantity;
	}

	public void setTotalQuantity(int totalQuantity) {
		this.totalQuantity = totalQuantity;
	}

	@Override
	public String toString() {
		StringBuffer str = new StringBuffer();
		str.append(name);
		str.append(author);
		str.append(press);
		str.append(number);
		return str.toString();
	}

}